package com.example.lisongyu;



import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class DengluActivity extends AppCompatActivity {
    private Button id_denglushouye,id_denglutiao;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_denglu);
        id_denglushouye = findViewById(R.id.id_denglushouye);
        id_denglushouye.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                startActivity(new Intent(DengluActivity.this,MainActivity.class));
            }
        });
        id_denglutiao = findViewById(R.id.id_denglutiao);
        id_denglutiao.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                startActivity(new Intent(DengluActivity.this,TiaoActivity.class));
            }
        });
    }
}